//
//  SMTextView.h
//  TengBean
//
//  Created by apple on 2017/4/12.
//  Copyright © 2017年 zsr. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^TextViewValueChangeBlock)(NSString *value);

@interface SMTextView : UIView

- (instancetype)initWithPlacehoder:(NSString *)placehoder fontSize:(CGFloat)fontSize limitCout:(NSInteger)limitCount frame:(CGRect)frame;
@property (nonatomic, copy)NSString *text;
@property (nonatomic, strong) UITextView *textView;

@property (assign, nonatomic)TextViewValueChangeBlock valueChangeBlock;

- (void)updateSize:(CGSize)size;

/**
将限制数量关闭
 */
- (void)showHidenLimit;

@end
